home *** CD-ROM | disk | FTP | other *** search
- Path: norconnect.no!not-for-mail
- From: kenneth@norconnect.no (Kenneth C. Nilsen)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: SHAREWARE PROGRAMMERS: Protection Patch (was Re: OS features)
- Date: 20 Jan 1996 02:41:07 +0100
- Organization: NorConnect Internet Services AS
- Message-ID: <1034.6592T418T2087@norconnect.no>
- References: <92747544038@PAPA.NORTH.DE> <4b3h9s$1st@alterdial.UU.NET>
- <hmAVx*Y3f@yaps.rhein.de><cg.75pf@ami-cg.GraySage.Edmonton.AB.CA>
- <4d3t9e$mkv@hermes.louisville.edu><m4d20p0mn2v.fsf@freud.hut.fi> <bAAYx*mla@aargh.incubus.sub.org>
- NNTP-Posting-Host: norconnect.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- >Anyone know SCRATCH (by Bill Hawes)? It SetFunctions() all known library
- >functions to scratch CPU registers D1/A0/A1.
- >One could easily make a Protection Patch program, that enables _todays'_
- >AmigaOS to carefully watch a functions input.
-
- >Now, who's willing to program this?
-
- Be careful with this. Some dos functions are even returning results in d1
- (eg. LoadSeg()). You /can/ return results in other registers than d0, but C
- programmers will get some problems then. From assembler this works with no
- problems (read this right, I don't /recommend/ you guys to use other regs.
- than d0).
-
- Another problem is that you have to keep track on all functions you patch and
- you should make one routine for each function since they have different
- call offsets (of course, tables work, but will slow down the functions).
-
-
- ---
- CREATIVE LINKS __ Kenneth C. Nilsen
- http://www.norconnect.no/~kenneth /_/\ e-mail: kenneth@norconnect.no
- "Everything you want" \_\/ Software & MultiMedia developer
-
-